package guojin.io;

import java.io.InputStream;

/**
 * @author 把xml文件加载成字节流放到内存中
 * @version $Id Resource.java, v 0.1 2021-06-09 0:18 haoge Exp $$
 */
public class Resource {

    public static InputStream getResourceAsStream(String path){
        InputStream resourceAsStream = Resource.class.getClassLoader().getResourceAsStream(path);

        return resourceAsStream;


    }
}
